package org.suze.redis.hack;

import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

/**
 * @description:
 * @Date : 2018/9/21 下午8:49
 * @Author : 石冬冬-Seig Heil(dongdong.shi@mljr.com)
 */
public class Hack {
    public static void main(String[] args) {
        try {
            ServerSocket serverSocket = new ServerSocket(6379);
            Socket socket = serverSocket.accept();
            byte[] bytes = new byte[1024];
            socket.getInputStream().read(bytes);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
